<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: printf/mathio.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_012ec66c173e5cefcc171f0e37014eef.html">printf</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">mathio.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="mathio_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#ifndef _MATHIO_H_</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#define _MATHIO_H_</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">// Define what memory space the function is located in</span></div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">// With ESP8266 we can use this for cached and non-cached code space</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#ifndef MEMSPACE</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">   33</a></span>&#160;<span class="preprocessor">#define MEMSPACE </span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">// With AVR CPU types we can make this a 24bit pointer</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#ifndef AVR</span></div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="mathio_8h.html#a9306b0c3083933632aca02ebb1fe14d5">   38</a></span>&#160;<span class="preprocessor">#define __memx </span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">// Weak attribute </span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment">//   Allow functions defined here to be overridden by an external ones</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#ifndef WEAK_ATR</span></div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="mathio_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">   45</a></span>&#160;<span class="preprocessor">#define WEAK_ATR __attribute__((weak))</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#af4de2514b7778805db3815e8dd6cf09a">putchar</a>(<span class="keywordtype">int</span> c);</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment">/* mathio.c */</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#a8c0b521d598596dde4e31d56f672ad76">atodigit</a> ( <span class="keywordtype">int</span> c , <span class="keywordtype">int</span> radix );</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">long</span> <a class="code" href="mathio_8h.html#a65e529a87a8bcaf0b2cb9b6edc3a8fde">atoh</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *p );</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">long</span> <a class="code" href="mathio_8h.html#a5fb184d7bd50561c60bf64b7cda0eb62">aton</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">int</span> base );</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#aee46e805a6a25105661e6486a419fdc3">mul10str</a> ( <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *str , <span class="keywordtype">int</span> size );</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">long</span> <a class="code" href="mathio_8h.html#ae7a25f0631dd53c026fd8636e8bcb42e">strtol</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *nptr , <span class="keywordtype">char</span> **endptr , <span class="keywordtype">int</span> base );</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">long</span> <span class="keywordtype">long</span> <a class="code" href="mathio_8h.html#a00a26430103adfe060136c98afc39cab">strtoll</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *nptr , <span class="keywordtype">char</span> **endptr , <span class="keywordtype">int</span> base );</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">#ifdef __SIZEOF_INT128__</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> __uint128_t strto128 ( <span class="keyword">const</span> <span class="keywordtype">char</span> *nptr , <span class="keywordtype">char</span> **endptr , <span class="keywordtype">int</span> base );</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#ae640e0202e5f4904efa121a07af97c5e">atoi</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">long</span> <a class="code" href="mathio_8h.html#ae952cb1ae6aec6b2b6c02ae67e9ea87b">atol</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">double</span> <a class="code" href="mathio_8h.html#a29526ba629435aeaee7e3201242a9234">iexp</a> ( <span class="keywordtype">double</span> num , <span class="keywordtype">int</span> exp );</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">double</span> <a class="code" href="mathio_8h.html#a52658cd34151fad98aa1294a2acafa02">scale10</a> ( <span class="keywordtype">double</span> num , <span class="keywordtype">int</span> *exp );</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">double</span> <a class="code" href="mathio_8h.html#a581d4eb5e2c88dd6a011ed595bf413f8">strtod</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *nptr , <span class="keywordtype">char</span> **endptr );</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">double</span> <a class="code" href="mathio_8h.html#a7e733f84057711222341263fe2f0bd15">atof</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="preprocessor">#undef atof</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">#undef strlen</span></div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;<span class="preprocessor">#undef isdigit</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="preprocessor">#undef vnsprintf</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="preprocessor">#undef snprintf</span></div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="comment">// =============================================</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="comment">/* printf.c */</span></div><div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="struct__printf__t.html">   81</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__printf__t.html">_printf_t</a></div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;{</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="struct__printf__t.html#a3ef8eb0143b93d4446b04c6ce9313be7">   83</a></span>&#160;    void (*<a class="code" href="struct__printf__t.html#a3ef8eb0143b93d4446b04c6ce9313be7">put</a>)(<span class="keyword">struct </span><a class="code" href="struct__printf__t.html">_printf_t</a> *, char);</div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="struct__printf__t.html#ad35884151d0be6667caafad8caacc76f">   84</a></span>&#160;    <span class="keywordtype">void</span> *<a class="code" href="struct__printf__t.html#ad35884151d0be6667caafad8caacc76f">buffer</a>;</div><div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="struct__printf__t.html#a5139902cde74159b79e6418a34712bee">   85</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct__printf__t.html#a5139902cde74159b79e6418a34712bee">len</a>;</div><div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="struct__printf__t.html#a872716fd701166cd57bd3fffb7b77706">   86</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="struct__printf__t.html#a872716fd701166cd57bd3fffb7b77706">sent</a>;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;} <a class="code" href="mathio_8h.html#a1efdee46bf8e5af45e76e461e8db9c09">printf_t</a>;</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="unionf__t.html">   90</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">union </span>{</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <span class="keyword">struct </span>{</div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="unionf__t.html#ad6b1584314c27653690552e95e1ed96f">   92</a></span>&#160;      <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> width : 1;</div><div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="unionf__t.html#afd9cfffafc044b616256b483e5444d92">   93</a></span>&#160;      <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> prec : 1;</div><div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="unionf__t.html#a63ebe04d55417685e439b779dfa8dafe">   94</a></span>&#160;      <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> plus : 1;</div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="unionf__t.html#a5f89cd6194ccc6a288f1fe31d39b2e64">   95</a></span>&#160;      <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> left : 1;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="unionf__t.html#aba20a97e95d14a076e9c175989022717">   96</a></span>&#160;      <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> space : 1;</div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="unionf__t.html#ac70397e87721255908299c190f3e5670">   97</a></span>&#160;      <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> zero : 1;</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="unionf__t.html#a08d5e77f0fdb784ab1ef1425625e23f7">   98</a></span>&#160;      <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> neg: 1;</div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="unionf__t.html#a907a8d8af4803c9a18bc0586d22d6881">   99</a></span>&#160;      <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> alt: 1;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    } b;</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="unionf__t.html#aab0615c9ada80b0f986b58639ea8c480">  101</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="unionf__t.html#aab0615c9ada80b0f986b58639ea8c480">all</a>;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;} <a class="code" href="unionf__t.html">f_t</a>;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="comment">/* printf.c */</span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">size_t</span> <a class="code" href="mathio_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="mathio_8h.html#a895ea3a2f9901e4c962806cc15271339">strlen</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="mathio_8h.html#a8c33a3f5b4322e705d3403f63d55b0a1">isdigit</a> ( <span class="keywordtype">int</span> c );</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="mathio_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="mathio_8h.html#a00b9d97be21e4f3f5df1019a803c05a6">reverse</a> ( <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="mathio_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a> <a class="code" href="mathio_8h.html#a25ac5a1dbdfa1d06d55448cd7b665d1d">strupper</a> ( <span class="keywordtype">char</span> *str );</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#aa95ef42dcc41a90255c084e0e1a9bcde">bin2num</a> ( <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *str , <span class="keywordtype">int</span> strmax , <span class="keywordtype">int</span> nummin , <span class="keywordtype">int</span> base , <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *nump , <span class="keywordtype">int</span> numsize , <span class="keywordtype">int</span> sign_ch );</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="mathio_8h.html#ab10e941ecf6d7512649e377e97d28fac">pch_init</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">int</span> max );</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#ab454b0d961c8dc93406cc75379c8a1f5">pch</a> ( <span class="keywordtype">char</span> ch );</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#a569e22c563b1ffd2dd24e34362a7c28f">pch_ind</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#a5769700e455a65d011d96917f3f5ba36">pch_max_ind</a> ( <span class="keywordtype">void</span> );</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="mathio_8h.html#a9c08c55e823a7532f2344a77ef296b4e">print_flags</a> ( <a class="code" href="unionf__t.html">f_t</a> f );</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#ab538bcf34e0347b5c0329666ab58d0e2">p_ntoa</a> ( <a class="code" href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *nump , <span class="keywordtype">int</span> numsize , <span class="keywordtype">char</span> *str , <span class="keywordtype">int</span> strmax , <span class="keywordtype">int</span> radix , <span class="keywordtype">int</span> width , <span class="keywordtype">int</span> prec , <a class="code" href="unionf__t.html">f_t</a> f );</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#af35d59e537ce4cc2895dc4e00ada5977">p_ftoa</a> ( <span class="keywordtype">double</span> val , <span class="keywordtype">char</span> *str , <span class="keywordtype">int</span> max , <span class="keywordtype">int</span> width , <span class="keywordtype">int</span> prec , <a class="code" href="unionf__t.html">f_t</a> f );</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#ae3e3ca7828e11c31adc999b44d2f2bb1">p_etoa</a> ( <span class="keywordtype">double</span> val , <span class="keywordtype">char</span> *str , <span class="keywordtype">int</span> max , <span class="keywordtype">int</span> width , <span class="keywordtype">int</span> prec , <a class="code" href="unionf__t.html">f_t</a> f );</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="mathio_8h.html#ab713fa5c01f315bdf67d18a6dbcb4ff5">_puts_pad</a> ( <a class="code" href="struct__printf__t.html">printf_t</a> *fn , <span class="keywordtype">char</span> *s , <span class="keywordtype">int</span> width , <span class="keywordtype">int</span> count , <span class="keywordtype">int</span> left );</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="mathio_8h.html#a1c2762f15e2ae4dea9b52ee9e3532372">_printf_fn</a> ( <a class="code" href="struct__printf__t.html">printf_t</a> *fn , <a class="code" href="mathio_8h.html#a9306b0c3083933632aca02ebb1fe14d5">__memx</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt , va_list va );</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">void</span> <a class="code" href="mathio_8h.html#a9b6f7fa030ba96220b734d45d737805a">_putc_buffer_fn</a> ( <span class="keyword">struct</span> <a class="code" href="struct__printf__t.html">_printf_t</a> *p , <span class="keywordtype">char</span> ch );</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#a7a6349b4ca3388a0cb82fc3d1d85a6b5">vsnprintf</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">size_t</span> size , <span class="keyword">const</span> <span class="keywordtype">char</span> *format , va_list va );</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#a278630a290b34d009b2e3ad7bf1fc996">snprintf</a> ( <span class="keywordtype">char</span> *str , <span class="keywordtype">size_t</span> size , <span class="keyword">const</span> <span class="keywordtype">char</span> *format , ...);</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *format , ...);</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="preprocessor">#ifdef AVR</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> vsnprintf_P ( <span class="keywordtype">char</span> *str , <span class="keywordtype">size_t</span> size , <a class="code" href="mathio_8h.html#a9306b0c3083933632aca02ebb1fe14d5">__memx</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *format , va_list va );</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> snprintf_P ( <span class="keywordtype">char</span> *str , <span class="keywordtype">size_t</span> size , <a class="code" href="mathio_8h.html#a9306b0c3083933632aca02ebb1fe14d5">__memx</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *format , ...);</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> sprintf_P ( <span class="keywordtype">char</span> *str , <a class="code" href="mathio_8h.html#a9306b0c3083933632aca02ebb1fe14d5">__memx</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *format , ...);</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<a class="code" href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> <span class="keywordtype">int</span> printf_P ( <a class="code" href="mathio_8h.html#a9306b0c3083933632aca02ebb1fe14d5">__memx</a> <span class="keyword">const</span> <span class="keywordtype">char</span> *format , ...);</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="comment">/* sscanf.c */</span></div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="keywordtype">int</span> <a class="code" href="mathio_8h.html#a79c7a2e931845b0fb6b2fa6d63939de4">sscanf</a> ( <span class="keyword">const</span> <span class="keywordtype">char</span> *strp , <span class="keyword">const</span> <span class="keywordtype">char</span> *fmt , ...);</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="preprocessor">#endif  // ifndef _MATHIO_H_</span></div><div class="ttc" id="mathio_8h_html_ab10e941ecf6d7512649e377e97d28fac"><div class="ttname"><a href="mathio_8h.html#ab10e941ecf6d7512649e377e97d28fac">pch_init</a></div><div class="ttdeci">MEMSPACE void pch_init(char *str, int max)</div><div class="ttdoc">Initialize character buffer with limits. </div><div class="ttdef"><b>Definition:</b> <a href="printf_8c_source.html#l00222">printf.c:222</a></div></div>
<div class="ttc" id="mathio_8h_html_a7a6349b4ca3388a0cb82fc3d1d85a6b5"><div class="ttname"><a href="mathio_8h.html#a7a6349b4ca3388a0cb82fc3d1d85a6b5">vsnprintf</a></div><div class="ttdeci">MEMSPACE int vsnprintf(char *str, size_t size, const char *format, va_list va)</div><div class="ttdoc">vsnprintf function </div><div class="ttdef"><b>Definition:</b> <a href="printf_8c_source.html#l01135">printf.c:1135</a></div></div>
<div class="ttc" id="mathio_8h_html_a9306b0c3083933632aca02ebb1fe14d5"><div class="ttname"><a href="mathio_8h.html#a9306b0c3083933632aca02ebb1fe14d5">__memx</a></div><div class="ttdeci">#define __memx</div><div class="ttdef"><b>Definition:</b> <a href="mathio_8h_source.html#l00038">mathio.h:38</a></div></div>
<div class="ttc" id="mathio_8h_html_a569e22c563b1ffd2dd24e34362a7c28f"><div class="ttname"><a href="mathio_8h.html#a569e22c563b1ffd2dd24e34362a7c28f">pch_ind</a></div><div class="ttdeci">MEMSPACE int pch_ind(void)</div><div class="ttdoc">Return current index of character buffer with limits. </div><div class="ttdef"><b>Definition:</b> <a href="printf_8c_source.html#l00250">printf.c:250</a></div></div>
<div class="ttc" id="mathio_8h_html_a52658cd34151fad98aa1294a2acafa02"><div class="ttname"><a href="mathio_8h.html#a52658cd34151fad98aa1294a2acafa02">scale10</a></div><div class="ttdeci">MEMSPACE double scale10(double num, int *exp)</div></div>
<div class="ttc" id="mathio_8h_html_aa95ef42dcc41a90255c084e0e1a9bcde"><div class="ttname"><a href="mathio_8h.html#aa95ef42dcc41a90255c084e0e1a9bcde">bin2num</a></div><div class="ttdeci">MEMSPACE int bin2num(uint8_t *str, int strmax, int nummin, int base, uint8_t *nump, int numsize, int sign_ch)</div><div class="ttdoc">Convert an unsigned number (numsize bytes in size) to ASCII in specified base Notes: No limit except ...</div><div class="ttdef"><b>Definition:</b> <a href="printf_8c_source.html#l00139">printf.c:139</a></div></div>
<div class="ttc" id="mathio_8h_html_ae952cb1ae6aec6b2b6c02ae67e9ea87b"><div class="ttname"><a href="mathio_8h.html#ae952cb1ae6aec6b2b6c02ae67e9ea87b">atol</a></div><div class="ttdeci">MEMSPACE long atol(const char *str)</div><div class="ttdoc">Convert ASCII string to number in base 10. </div><div class="ttdef"><b>Definition:</b> <a href="mathio_8c_source.html#l00295">mathio.c:295</a></div></div>
<div class="ttc" id="mathio_8h_html_ad0fe97585b8891f5e4f2b9a6426330a4"><div class="ttname"><a href="mathio_8h.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a></div><div class="ttdeci">#define MEMSPACE</div><div class="ttdef"><b>Definition:</b> <a href="mathio_8h_source.html#l00033">mathio.h:33</a></div></div>
<div class="ttc" id="mathio_8h_html_ab454b0d961c8dc93406cc75379c8a1f5"><div class="ttname"><a href="mathio_8h.html#ab454b0d961c8dc93406cc75379c8a1f5">pch</a></div><div class="ttdeci">MEMSPACE int pch(char ch)</div><div class="ttdoc">Put character in buffer with limits. </div><div class="ttdef"><b>Definition:</b> <a href="printf_8c_source.html#l00237">printf.c:237</a></div></div>
<div class="ttc" id="mathio_8h_html_a1c2762f15e2ae4dea9b52ee9e3532372"><div class="ttname"><a href="mathio_8h.html#a1c2762f15e2ae4dea9b52ee9e3532372">_printf_fn</a></div><div class="ttdeci">MEMSPACE void _printf_fn(printf_t *fn, __memx const char *fmt, va_list va)</div><div class="ttdoc">vsnprintf function </div><div class="ttdef"><b>Definition:</b> <a href="printf_8c_source.html#l00741">printf.c:741</a></div></div>
<div class="ttc" id="mathio_8h_html_a65e529a87a8bcaf0b2cb9b6edc3a8fde"><div class="ttname"><a href="mathio_8h.html#a65e529a87a8bcaf0b2cb9b6edc3a8fde">atoh</a></div><div class="ttdeci">MEMSPACE long atoh(const char *p)</div><div class="ttdoc">Convert ASCII hex string to long integer. </div><div class="ttdef"><b>Definition:</b> <a href="mathio_8c_source.html#l00079">mathio.c:79</a></div></div>
<div class="ttc" id="mathio_8h_html_ae7a25f0631dd53c026fd8636e8bcb42e"><div class="ttname"><a href="mathio_8h.html#ae7a25f0631dd53c026fd8636e8bcb42e">strtol</a></div><div class="ttdeci">MEMSPACE long strtol(const char *nptr, char **endptr, int base)</div><div class="ttdoc">Convert ASCII string to number in a given base. </div><div class="ttdef"><b>Definition:</b> <a href="mathio_8c_source.html#l00136">mathio.c:136</a></div></div>
<div class="ttc" id="mathio_8h_html_a25ac5a1dbdfa1d06d55448cd7b665d1d"><div class="ttname"><a href="mathio_8h.html#a25ac5a1dbdfa1d06d55448cd7b665d1d">strupper</a></div><div class="ttdeci">MEMSPACE void WEAK_ATR strupper(char *str)</div><div class="ttdoc">UPPERCASE a string. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00253">stringsup.c:253</a></div></div>
<div class="ttc" id="mathio_8h_html_af4de2514b7778805db3815e8dd6cf09a"><div class="ttname"><a href="mathio_8h.html#af4de2514b7778805db3815e8dd6cf09a">putchar</a></div><div class="ttdeci">int putchar(int c)</div><div class="ttdoc">put a character to stdout See fdevopen() sets stream-&gt;put get for TTY devices </div><div class="ttdef"><b>Definition:</b> <a href="posix_8c_source.html#l00351">posix.c:351</a></div></div>
<div class="ttc" id="mathio_8h_html_a895ea3a2f9901e4c962806cc15271339"><div class="ttname"><a href="mathio_8h.html#a895ea3a2f9901e4c962806cc15271339">strlen</a></div><div class="ttdeci">MEMSPACE size_t WEAK_ATR strlen(const char *str)</div><div class="ttdoc">String Length. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00146">stringsup.c:146</a></div></div>
<div class="ttc" id="mathio_8h_html_a7e733f84057711222341263fe2f0bd15"><div class="ttname"><a href="mathio_8h.html#a7e733f84057711222341263fe2f0bd15">atof</a></div><div class="ttdeci">MEMSPACE double atof(const char *str)</div></div>
<div class="ttc" id="mathio_8h_html_a1efdee46bf8e5af45e76e461e8db9c09"><div class="ttname"><a href="mathio_8h.html#a1efdee46bf8e5af45e76e461e8db9c09">printf_t</a></div><div class="ttdeci">struct _printf_t printf_t</div><div class="ttdoc">undefine any potential macro version of these functions </div></div>
<div class="ttc" id="mathio_8h_html_a581d4eb5e2c88dd6a011ed595bf413f8"><div class="ttname"><a href="mathio_8h.html#a581d4eb5e2c88dd6a011ed595bf413f8">strtod</a></div><div class="ttdeci">MEMSPACE double strtod(const char *nptr, char **endptr)</div></div>
<div class="ttc" id="mathio_8h_html_a399da2caab82ec1bb3d5a8fbc5306768"><div class="ttname"><a href="mathio_8h.html#a399da2caab82ec1bb3d5a8fbc5306768">WEAK_ATR</a></div><div class="ttdeci">#define WEAK_ATR</div><div class="ttdef"><b>Definition:</b> <a href="mathio_8h_source.html#l00045">mathio.h:45</a></div></div>
<div class="ttc" id="struct__printf__t_html_ad35884151d0be6667caafad8caacc76f"><div class="ttname"><a href="struct__printf__t.html#ad35884151d0be6667caafad8caacc76f">_printf_t::buffer</a></div><div class="ttdeci">void * buffer</div><div class="ttdef"><b>Definition:</b> <a href="mathio_8h_source.html#l00084">mathio.h:84</a></div></div>
<div class="ttc" id="mathio_8h_html_a00a26430103adfe060136c98afc39cab"><div class="ttname"><a href="mathio_8h.html#a00a26430103adfe060136c98afc39cab">strtoll</a></div><div class="ttdeci">MEMSPACE long long strtoll(const char *nptr, char **endptr, int base)</div><div class="ttdoc">Convert ASCII string to number in a given base. </div><div class="ttdef"><b>Definition:</b> <a href="mathio_8c_source.html#l00183">mathio.c:183</a></div></div>
<div class="ttc" id="mathio_8h_html_a29526ba629435aeaee7e3201242a9234"><div class="ttname"><a href="mathio_8h.html#a29526ba629435aeaee7e3201242a9234">iexp</a></div><div class="ttdeci">MEMSPACE double iexp(double num, int exp)</div></div>
<div class="ttc" id="mathio_8h_html_a79c7a2e931845b0fb6b2fa6d63939de4"><div class="ttname"><a href="mathio_8h.html#a79c7a2e931845b0fb6b2fa6d63939de4">sscanf</a></div><div class="ttdeci">int sscanf(const char *strp, const char *fmt,...)</div></div>
<div class="ttc" id="struct__printf__t_html_a5139902cde74159b79e6418a34712bee"><div class="ttname"><a href="struct__printf__t.html#a5139902cde74159b79e6418a34712bee">_printf_t::len</a></div><div class="ttdeci">int len</div><div class="ttdef"><b>Definition:</b> <a href="mathio_8h_source.html#l00085">mathio.h:85</a></div></div>
<div class="ttc" id="mathio_8h_html_a8c33a3f5b4322e705d3403f63d55b0a1"><div class="ttname"><a href="mathio_8h.html#a8c33a3f5b4322e705d3403f63d55b0a1">isdigit</a></div><div class="ttdeci">MEMSPACE int WEAK_ATR isdigit(int c)</div><div class="ttdoc">test if a character is a digit </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00048">stringsup.c:48</a></div></div>
<div class="ttc" id="mathio_8h_html_aee46e805a6a25105661e6486a419fdc3"><div class="ttname"><a href="mathio_8h.html#aee46e805a6a25105661e6486a419fdc3">mul10str</a></div><div class="ttdeci">MEMSPACE int mul10str(uint8_t *str, int size)</div><div class="ttdoc">Fast multiply number of any size by 10. </div><div class="ttdef"><b>Definition:</b> <a href="mathio_8c_source.html#l00108">mathio.c:108</a></div></div>
<div class="ttc" id="mathio_8h_html_ab538bcf34e0347b5c0329666ab58d0e2"><div class="ttname"><a href="mathio_8h.html#ab538bcf34e0347b5c0329666ab58d0e2">p_ntoa</a></div><div class="ttdeci">MEMSPACE int p_ntoa(uint8_t *nump, int numsize, char *str, int strmax, int radix, int width, int prec, f_t f)</div><div class="ttdoc">Convert number an base 2 .. 16 to ASCII with optional sign Notes: 1) Numbers can be any number of dig...</div><div class="ttdef"><b>Definition:</b> <a href="printf_8c_source.html#l00314">printf.c:314</a></div></div>
<div class="ttc" id="mathio_8h_html_a5769700e455a65d011d96917f3f5ba36"><div class="ttname"><a href="mathio_8h.html#a5769700e455a65d011d96917f3f5ba36">pch_max_ind</a></div><div class="ttdeci">MEMSPACE int pch_max_ind(void)</div><div class="ttdoc">Return maximum valid index for character buffer. </div><div class="ttdef"><b>Definition:</b> <a href="printf_8c_source.html#l00258">printf.c:258</a></div></div>
<div class="ttc" id="unionf__t_html_aab0615c9ada80b0f986b58639ea8c480"><div class="ttname"><a href="unionf__t.html#aab0615c9ada80b0f986b58639ea8c480">f_t::all</a></div><div class="ttdeci">unsigned short all</div><div class="ttdef"><b>Definition:</b> <a href="mathio_8h_source.html#l00101">mathio.h:101</a></div></div>
<div class="ttc" id="mathio_8h_html_ad6078f8da2d30ecaef99e0c2d250c0c8"><div class="ttname"><a href="mathio_8h.html#ad6078f8da2d30ecaef99e0c2d250c0c8">printf</a></div><div class="ttdeci">MEMSPACE int printf(const char *format,...)</div></div>
<div class="ttc" id="mathio_8h_html_ae3e3ca7828e11c31adc999b44d2f2bb1"><div class="ttname"><a href="mathio_8h.html#ae3e3ca7828e11c31adc999b44d2f2bb1">p_etoa</a></div><div class="ttdeci">MEMSPACE int p_etoa(double val, char *str, int max, int width, int prec, f_t f)</div></div>
<div class="ttc" id="mathio_8h_html_a9c08c55e823a7532f2344a77ef296b4e"><div class="ttname"><a href="mathio_8h.html#a9c08c55e823a7532f2344a77ef296b4e">print_flags</a></div><div class="ttdeci">MEMSPACE void print_flags(f_t f)</div><div class="ttdoc">print flags set in t_t structure </div><div class="ttdef"><b>Definition:</b> <a href="printf_8c_source.html#l00270">printf.c:270</a></div></div>
<div class="ttc" id="mathio_8h_html_ab713fa5c01f315bdf67d18a6dbcb4ff5"><div class="ttname"><a href="mathio_8h.html#ab713fa5c01f315bdf67d18a6dbcb4ff5">_puts_pad</a></div><div class="ttdeci">MEMSPACE void _puts_pad(printf_t *fn, char *s, int width, int count, int left)</div><div class="ttdef"><b>Definition:</b> <a href="printf_8c_source.html#l00683">printf.c:683</a></div></div>
<div class="ttc" id="mathio_8h_html_a5fb184d7bd50561c60bf64b7cda0eb62"><div class="ttname"><a href="mathio_8h.html#a5fb184d7bd50561c60bf64b7cda0eb62">aton</a></div><div class="ttdeci">MEMSPACE long aton(char *str, int base)</div><div class="ttdoc">Convert ASCII string to number in a given base. </div><div class="ttdef"><b>Definition:</b> <a href="mathio_8c_source.html#l00093">mathio.c:93</a></div></div>
<div class="ttc" id="struct__printf__t_html_a872716fd701166cd57bd3fffb7b77706"><div class="ttname"><a href="struct__printf__t.html#a872716fd701166cd57bd3fffb7b77706">_printf_t::sent</a></div><div class="ttdeci">int sent</div><div class="ttdef"><b>Definition:</b> <a href="mathio_8h_source.html#l00086">mathio.h:86</a></div></div>
<div class="ttc" id="mathio_8h_html_a278630a290b34d009b2e3ad7bf1fc996"><div class="ttname"><a href="mathio_8h.html#a278630a290b34d009b2e3ad7bf1fc996">snprintf</a></div><div class="ttdeci">MEMSPACE int snprintf(char *str, size_t size, const char *format,...)</div><div class="ttdoc">snprintf function </div><div class="ttdef"><b>Definition:</b> <a href="printf_8c_source.html#l01164">printf.c:1164</a></div></div>
<div class="ttc" id="mathio_8h_html_a00b9d97be21e4f3f5df1019a803c05a6"><div class="ttname"><a href="mathio_8h.html#a00b9d97be21e4f3f5df1019a803c05a6">reverse</a></div><div class="ttdeci">MEMSPACE void WEAK_ATR reverse(char *str)</div><div class="ttdoc">Reverse a string in place Example: abcdef -&gt; fedcba. </div><div class="ttdef"><b>Definition:</b> <a href="stringsup_8c_source.html#l00231">stringsup.c:231</a></div></div>
<div class="ttc" id="unionf__t_html"><div class="ttname"><a href="unionf__t.html">f_t</a></div><div class="ttdoc">format specifier flags </div><div class="ttdef"><b>Definition:</b> <a href="mathio_8h_source.html#l00090">mathio.h:90</a></div></div>
<div class="ttc" id="send_8c_html_aba7bc1797add20fe3efdf37ced1182c5"><div class="ttname"><a href="send_8c.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a></div><div class="ttdeci">unsigned char uint8_t</div><div class="ttdef"><b>Definition:</b> <a href="send_8c_source.html#l00017">send.c:17</a></div></div>
<div class="ttc" id="mathio_8h_html_a8c0b521d598596dde4e31d56f672ad76"><div class="ttname"><a href="mathio_8h.html#a8c0b521d598596dde4e31d56f672ad76">atodigit</a></div><div class="ttdeci">MEMSPACE int atodigit(int c, int radix)</div><div class="ttdoc">Convert ASCII character to radix based digit , or -1. </div><div class="ttdef"><b>Definition:</b> <a href="mathio_8c_source.html#l00058">mathio.c:58</a></div></div>
<div class="ttc" id="mathio_8h_html_af35d59e537ce4cc2895dc4e00ada5977"><div class="ttname"><a href="mathio_8h.html#af35d59e537ce4cc2895dc4e00ada5977">p_ftoa</a></div><div class="ttdeci">MEMSPACE int p_ftoa(double val, char *str, int max, int width, int prec, f_t f)</div></div>
<div class="ttc" id="struct__printf__t_html_a3ef8eb0143b93d4446b04c6ce9313be7"><div class="ttname"><a href="struct__printf__t.html#a3ef8eb0143b93d4446b04c6ce9313be7">_printf_t::put</a></div><div class="ttdeci">void(* put)(struct _printf_t *, char)</div><div class="ttdef"><b>Definition:</b> <a href="mathio_8h_source.html#l00083">mathio.h:83</a></div></div>
<div class="ttc" id="mathio_8h_html_a9b6f7fa030ba96220b734d45d737805a"><div class="ttname"><a href="mathio_8h.html#a9b6f7fa030ba96220b734d45d737805a">_putc_buffer_fn</a></div><div class="ttdeci">MEMSPACE void _putc_buffer_fn(struct _printf_t *p, char ch)</div><div class="ttdoc">_putc_buffer_fn - character output to a string buffer Used by snprintf and vsnprintf You can make _pr...</div><div class="ttdef"><b>Definition:</b> <a href="printf_8c_source.html#l01103">printf.c:1103</a></div></div>
<div class="ttc" id="mathio_8h_html_ae640e0202e5f4904efa121a07af97c5e"><div class="ttname"><a href="mathio_8h.html#ae640e0202e5f4904efa121a07af97c5e">atoi</a></div><div class="ttdeci">MEMSPACE int atoi(const char *str)</div><div class="ttdoc">Convert ASCII string to number in base 10. </div><div class="ttdef"><b>Definition:</b> <a href="mathio_8c_source.html#l00281">mathio.c:281</a></div></div>
<div class="ttc" id="struct__printf__t_html"><div class="ttname"><a href="struct__printf__t.html">_printf_t</a></div><div class="ttdoc">undefine any potential macro version of these functions </div><div class="ttdef"><b>Definition:</b> <a href="mathio_8h_source.html#l00081">mathio.h:81</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
